Skip to content

chore(deps): upgrade golang.org/x/crypto to v0.55.0 - #44

Merged
appleboy merged 1 commit into
masterfrom
chore/bump-x-crypto-v0.55.0
Sep 5, 2026
Merged

appleboy merged 1 commit into
masterfrom
chore/bump-x-crypto-v0.55.0

Conversation

@appleboy

@appleboy appleboy commented Sep 5, 2026

Copy link
Copy Markdown
Member

Summary

The daily Trivy Security Scan workflow on the default branch has been failing because golang.org/x/crypto v0.54.0 is affected by CVE-2026-56854 (CRITICAL, golang.org/x/crypto/ssh).

  • Bump golang.org/x/crypto to v0.55.0 in every go.mod of this repository (including example modules).
  • go mod tidy refreshed the transitive golang.org/x/* versions that v0.55.0 requires. Only go.mod / go.sum files changed.

Related issues

  • Jira: N/A
  • GitHub: N/A (fixes the failing scheduled Trivy Security Scan workflow)

AI authorship

  • No AI was used
  • AI was used
    • Tool / model: Claude Code (Claude Fable 5.1)
    • AI-authored files: all go.mod / go.sum files in this PR (generated with go get + go mod tidy)
    • Human line-by-line reviewed: None — not yet reviewed by a human.

Change classification

  • Leaf change
  • Core change

Dependency-only bump; no source code changed.

Plan reference

Goal: make the Trivy Security Scan workflow pass on the default branch by upgrading the vulnerable dependencies to their fixed versions. Scope: go.mod / go.sum only.

Verification

  • Automated:
    • trivy fs --scanners vuln,secret,misconfig --severity CRITICAL,HIGH,MEDIUM --ignore-unfixed --exit-code 1 . (same flags as CI, vulnerability DB dated 2026-09-05): pass, 0 findings
    • go build ./... in every module: pass
    • go test ./... in the root module: pass for unit tests
  • Manual: none
  • Not run: tests that require external services (Redis / memcached / MongoDB) were not run locally; they are covered by CI.

Security check

  • No secrets in the diff
  • External inputs are validated
  • Permission checks are tested
  • Errors do not leak internals
  • N/A - no external or security-sensitive interface changed

Risk and rollback

  • Risk: minimal; minor-version bumps of Go standard extension packages with no API changes used by this repo.
  • Rollback: revert this commit.

Reviewer guide

  • Read carefully: nothing beyond the version numbers in go.mod.
  • Spot-check: go.sum hash updates are mechanical output of go mod tidy.

- Bump golang.org/x/crypto from v0.54.0 to v0.55.0 to fix CVE-2026-56854 (golang.org/x/crypto/ssh)
- Refresh transitive golang.org/x/{net,sys,text} versions via go mod tidy
Copilot AI lite review requested due to automatic review settings September 5, 2026 03:03

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The diff is a straightforward dependency/metadata update (go.mod/go.sum only) that removes the old vulnerable version reference and aligns checksums with the new resolved versions.

Pull request overview

This PR updates the root Go module’s dependency metadata to remediate a reported vulnerability in golang.org/x/crypto and unblock the failing scheduled Trivy Security Scan workflow, with changes limited to go.mod/go.sum.

Changes:

  • Bumped golang.org/x/crypto from v0.54.0 to v0.55.0 (indirect) in go.mod.
  • Refreshed transitive Go x/* dependencies via go mod tidy (notably golang.org/x/text to v0.41.0).
  • Updated go.sum checksums to match the new resolved module versions.
File summaries
File Description
go.mod Updates indirect golang.org/x/crypto to v0.55.0 and refreshes related x/* versions.
go.sum Updates module checksums corresponding to the new dependency graph.
Review details
  • Files reviewed: 1/2 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@appleboy
appleboy merged commit 92de1f2 into master Sep 5, 2026
8 checks passed
@appleboy
appleboy deleted the chore/bump-x-crypto-v0.55.0 branch September 5, 2026 07:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants